package us.nchu.tomtiger.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by XiongXuan on 2018/1/5.
 */
@Controller
public class IndexController {
    @GetMapping("/")
    public ModelAndView getIndex() {
        return new ModelAndView("index");
    }

}
